#!/bin/sh

[ "$ACTION" = "ifup" ] &&
	[ "$INTERFACE" = "wan" ] &&
	[ -e "/var/run/udp2raw.hostname_not_resolved.err" ] && {
	/etc/init.d/udp2raw reload
}
